package br.unifor.cct.mia.runner;

import java.io.FileNotFoundException;
import java.io.IOException;

import weka.classifiers.trees.J48;
import weka.core.Instances;
import weka.gui.explorer.ClassifierPanel;

public class ExemploWeka {
	
	public static void main(String[] args) {
		System.gc();
//		ClassifierPanel sp = new ClassifierPanel();
//		try {
//			java.io.Reader r = new java.io.BufferedReader(new java.io.FileReader("C:/Documents and Settings/Juliana/Desktop/Weka/weka-3-4-6/data/weather.arff"));
//			Instances i = new Instances(r);
//			sp.setInstances(i);
//			sp.m_ClassifierEditor.setValue(new J48());
//			sp.startClassifier();
//			sp.m_RunThread.join();
//			System.out.println(sp.evaluate);				
//		} catch (FileNotFoundException e) {
//			e.printStackTrace();
//		} catch (InterruptedException e) {
//			e.printStackTrace();
//		} catch (IOException e) {
//			e.printStackTrace();
//		}	
	}
}
